<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="pl" />
<title>DS DRUK</title>
<%= stylesheet_link_tag 'user' ,'semantic_forms' %>

<%= javascript_include_tag :all, :cache => true %>
</head>

<body style="background: <%= current_user.layout %>">
  <div id="banner">
    <div style="float: right; color: white; margin-right: 10px">
        Zalogowany jako <b><%= link_to current_user.name, :controller => 'admin', :action => 'show_user', :id => current_user.id %> </b>
    </div>
    			<%= link_to image_tag("btn_wyloguj.png", :mouseover => image_path("btn_wyloguj2.png"),
					:style => "float: right; clear: both"), :controller => 'user_sessions', :action => 'destroy' %>		

    <a style="display: block; width: 900px; height: 185px;" href="/admin" alt="DSDruk - system wspomagający drukowanie"></a>
  </div>

  <div id="underbanner">
  <%= link_to image_tag("btn_admin_zlecenia.png", :mouseover => image_path("btn_admin_zlecenia2.png")), :controller => 'admin', :action => "prints" %>
  <%= link_to image_tag("btn_admin_wplaty.png", :mouseover => image_path("btn_admin_wplaty2.png")), :controller => 'admin', :action => "payments" %>
  <%= link_to image_tag("btn_admin_uzytkownicy.png", :mouseover => image_path("btn_admin_uzytkownicy2.png")), :controller => 'admin', :action => "users" %>
  <%= link_to image_tag("btn_admin_ustawienia.png", :mouseover => image_path("btn_admin_ustawienia2.png")), :controller => 'admin', :action => 'settings' %>
  <%= link_to image_tag("btn_admin_wiadomosci.png", :mouseover => image_path("btn_admin_wiadomosci2.png")), :controller => 'admin', :action => 'messages' %>
  </div>

  <div id="content">
    <%= message_block %>
    <%= yield %>
  </div>

  <div id="footnote">    
  </div>
</body>